import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../src/pages/home/home.vue'
import Login from '../src/pages/login/login.vue'
import About from '../src/pages/about/about.vue'
Vue.use(VueRouter)
const route=new VueRouter({
	
	routes:[
		{
			name:'login',
			component: Login,
			path:"/"
		},
		{
			name:'home',
			component: Home,
			path:"/home"
		},{
			name:'about',
			component:About,
			path:"/about"
		}
	]
})

export default route